using AppToolKit.Model;
using AppToolKit.Model.Validation;
using System;
using System.Collections;
namespace AppToolKit.Business
{
	public interface IGenericBusiness
	{
		IList GetAll();
		object Create();
		void Delete(object entity, Opeartion op);
		object Load(object key);
		void Save(object entity, Opeartion op);
		void Update(object entity, Opeartion op);
		ValidateResultSet Valid(object data, ModifiedBehavior behavior);
		IList GetList(string query);
		IList GetListByPage(string query, int start, int max);
	}
}
